<template>
  <div class="page-style">
    <btn-area @exportExcel="exportExcel" />
    <apply-tab />
    <pagination :total="total" @pagination="currentPage" />
  </div>
</template>

<script>
import btnArea from './components/apply-link/btn-area'
import applyTab from './components/apply-link/apply-tab'
import pagination from '@/components/Pagination'
export default {
  components: {
    btnArea,
    applyTab,
    pagination
  },
  data() {
    return {
      total: 500
    }
  },
  methods: {
    currentPage(val) {
      console.log(val)
    },
    exportExcel() {
      // console.log('exportExcel')
      import('@/vendor/Export2Excel').then(excel => {
        excel.export_json_to_excel({
          header: [],
          filename: '申请链接列表',
          autoWidth: true,
          data: []
        })
      })
    }
  }
}
</script>

<style scoped>

</style>
